package com.xdtech.trans.service;

import java.util.List;

import com.xdtech.common.service.IBaseService;
import com.xdtech.trans.model.PriceConfig;
import com.xdtech.trans.vo.PriceConfigItem;

/**
 * 
 * @author max.zheng
 * @create 2015-07-04 21:24:57
 * @since 1.0
 * @see
 */
public interface PriceConfigService extends IBaseService<PriceConfig>{

	/**
	 * 保存更新信息
	 * @author max.zheng
	 * @create 2015-07-04 21:24:57
	 * @modified by
	 * @param item
	 * @return
	 */
	boolean saveOrUpdatePriceConfig(PriceConfigItem item);

	/**
	 * 加载记录信息
	 * @author max.zheng
	 * @create 2015-07-04 21:24:57
	 * @modified by
	 * @param newId
	 * @return
	 */
	PriceConfigItem loadPriceConfigItem(Long priceConfigId);

	/**
	 * 根据id号删除记录信息
	 * @author max.zheng
	 * @create 2015-07-04 21:24:57
	 * @modified by
	 * @param id
	 * @return
	 */
	boolean deletePriceConfigInfo(long id);

	/**
	 * 
	 * @author max.zheng
	 * @create 2015-07-04 21:24:57
	 * @modified by
	 * @param priceConfigIds
	 */
	boolean deletePriceConfigInfo(List<Long> priceConfigIds);
	
	/**
	 * 加载vo列表条目
	 * @author max.zheng
	 * @create 2015-07-04 21:24:57
	 * @modified by
	 * @return
	 */
	List<PriceConfigItem> loadItems();

	/**
	 * 加载价格设置
	 * @author max.zheng
	 * @create 2015-7-4下午9:59:00
	 * @modified by
	 * @return
	 */
	PriceConfigItem loadFirstPriceConfigItem();
}
